package com.xiaowen.util;

/**
 * Created by 15c on 2017/11/16.
 */
public class JsonException extends RuntimeException {
    private Integer error;

    public JsonException(Integer error, String message) {
        super(message);
        this.error = error;
    }

    public Integer getError() {
        return error;
    }

    public void setError(Integer error) {
        this.error = error;
    }
}
